package com.ssc.jasperttest;


import java.util.ArrayList;
import java.util.Collections;
import java.util.Iterator;
import java.util.List;

public class AdherentAnnuaireBeanList implements Iterable<AdherentAnnuaireBean> {
	private List<AdherentAnnuaireBean> list = new ArrayList<AdherentAnnuaireBean>();

	public AdherentAnnuaireBeanList(List<AdherentAnnuaireBean> l) {
		list = l;
	}
	public AdherentAnnuaireBeanList() {
	}

	@Override
	public Iterator<AdherentAnnuaireBean> iterator() {
		return list.iterator();
	}

	public void add(AdherentAnnuaireBean adh) {
			list.add(adh);
		
	}

	
	public List<AdherentAnnuaireBean> getReadOnlyInternList(){
		return Collections.unmodifiableList(list);
	}
}
